package com.ruoyi.api.controller;

import com.ruoyi.result.ResultView;
import com.ruoyi.system.domain.SysPlatform;
import com.ruoyi.system.service.ISysPlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author: lvaitly
 * Time: 15:17
 * Desc: 软件项目相关
 */
@RestController
@RequestMapping("/api/softplat")
public class SoftPlatformController {
    @Autowired
    private ISysPlatformService sysPlatformService;

    @GetMapping("/list")
    private ResultView getList(){
        return ResultView.ok(sysPlatformService.selectSysPlatformList(new SysPlatform()));
    }
}
